﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMS.BinLocationDefinitionService.Dto;

namespace WMS.BinLocationDefinitionService
{
    public interface IBinLocationDefinitionService:IApplicationService
    {
        /// <summary>
        /// 获取库位定义数据
        /// </summary>
        /// <param name="index"></param>
        /// <param name="limit"></param>
        /// <returns></returns>
         Task<PagedResult> GetBinlocationdata(int index = 1, int limit = 10);

        /// <summary>
        /// 删除库位信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
          Task<int> DeleteBins(int id);

        /// <summary>
        /// 添加库位信息
        /// </summary>
        /// <param name="addBinlocationdto"></param>
        /// <returns></returns>
          Task<int> AddTBinlocas(AddBinlocationdto addBinlocationdto);

        /// <summary>
        /// 通过id获取库位信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
         Task<SearchBinlocationdto> SelectByidBins(int id);

        /// <summary>
        /// 修改库位信息
        /// </summary>
        /// <param name="searchBinlocationdto"></param>
        /// <returns></returns>
        Task<int> UpdateClients(SearchBinlocationdto searchBinlocationdto);
    }
}
